provider Teams GET
/api/0/organizations/{organization_id_or_slug}/user-teams/ @utdk/sentry
/api/0/organizations/{organization_id_or_slug}/user-teams/ List a User's Teams for an Organization
Returns a list of teams the user has access to in the specified organization.
Note that this endpoint is restricted to [user auth tokens](https://docs.sentry.io/account/auth-tokens/#user-auth-tokens).
- organization_id_or_slug path required
- The ID or slug of the organization the resource belongs to.
- string
Try it
Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sentry from '@utdk/sentry';
await sentry.listAUserSTeamsForAnOrganization()